* sysdep.c (reset_sys_modes): Fix usage of EMACS_SET_TTY.
authorJim Blandy <jimb@redhat.com>
Sat, 20 Mar 1993 22:21:12 +0000 (22:21 +0000)
committerJim Blandy <jimb@redhat.com>
Sat, 20 Mar 1993 22:21:12 +0000 (22:21 +0000)
src/sysdep.c

index 901edb85e67a53250d0d415ad5066c42094e702d..e111c9c35ad611af4d3c9e98b3938806d5f4b421 100644 (file)
@@ -1102,7 +1102,7 @@ reset_sys_modes ()
     reset_sigio ();
 #endif /* BSD4_1 */
 
-  while (EMACS_SET_TTY (input_fd, &old_tty, 0) < 0 && errno == EINTR)
+  while (! EMACS_SET_TTY (input_fd, &old_tty, 0) && errno == EINTR)
     ;
 
 #ifdef AIX